package com.hippoDocker.order;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

@SpringBootApplication
@EnableDiscoveryClient //开启nacos服务注册
@ComponentScan(value = {"com.hippoDocker.order.**"},basePackages = {"com.hippoDocker.order.**"})  //spring自动扫描类
@EnableWebMvc
public class OrderApplication {

    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class, args);
    }

}
